![]() |
Web Services for Remote Management
14.0
Reference documentation for web service interfaces to support remote management of Symantec Endpoint Protection
|
The ClientService API provides functionality for getting lists of clients or lists of client groups against which you can run the methods of other web services. More...

Public Member Functions | |
| ComputerResult | getComputersByIP (@WebParam(name="ipAddresses") String[] ipAddresses,@WebParam(name="pagingOptions") PagingOptions pagingOptions,@WebParam(name="context") Context context) throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
| Returns a list of computer GUIDs from a provided list of computer IP addresses. More... | |
| ComputerResult | getQuarantinedComputers (@WebParam(name="pagingOptions") PagingOptions pagingOptions,@WebParam(name="context") Context context) throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
| Returns a list of computer GUIDs representing quarantined computers. More... | |
| ComputerResult | getComputersByHostName (@WebParam(name="computerHostNames") String[] computerHostNames,@WebParam(name="pagingOptions") PagingOptions pagingOptions,@WebParam(name="context") Context context) throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
| Returns a list of computer GUIDs from a provided list of computer hostnames. More... | |
| GroupResult | getGroupsByName (@WebParam(name="groupName") String groupName,@WebParam(name="pagingOptions") PagingOptions pagingOptions,@WebParam(name="context") Context context) throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
| Returns a list of group IDs for Symantec Endpoint Protection Manager groups from the specified group name(s) More... | |
| int | acknowledgeRiskEventEntries (@WebParam(name="eventIds") String[] eventIds) throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
| Acknowledges (leaves alone) the specified risks that were found when a PowerEraser command request was issued with type "Scan" or "ScanWithRootkit." The risks to leave alone are specified by using the eventId field of the RiskEventInfo object. More... | |
| RiskEventResult | getRiskEvents (@WebParam(name="commandID") String commandID,@WebParam(name="pagingOptions") PagingOptions pagingOptions,@WebParam(name="context") Context context) throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
| Returns the list of risks that were found when a runClientCommandPowerEraser() command request was issued with a PowerEraserCommand object argument that specified a command type of "Scan" or "ScanWith Rootkit." The commandID parameter is provided by the CommandClientResult object that is returned from the PowerEraser command. More... | |
| PagingOptions | createPagingOptions () |
| Creates a PagingOptions object. More... | |
| Context | createContext () |
| Creates a Context object. More... | |
The ClientService API provides functionality for getting lists of clients or lists of client groups against which you can run the methods of other web services.
Client lists are returned as lists of computer GUIDs. Group lists are returned as lists of group IDs.
Clients can be specified by individual IP address or hostname, by lists of IP addresses or hostnames, or by the name of a Symantec Endpoint Protection Manager group (group name). For more information about groups, see the Symantec Endpoint Protection documentation.
The returned computer GUIDs are intended for use as input parameters to other web methods, especially the methods provided in the CommandService API and in the PolicyService API. Group IDs can be used as input parameters to the methods of the PolicyService API.
This API also includes methods to create a default PagingOptions object and a default Context object. These objects may be useful if you write your web service calls in PowerShell or another scripting language. Developers who use higher-level languages should be able to create these objects directly, or they can use these helper methods.
| ComputerResult com.symantec.sepm.webservice.client.ClientService.getComputersByIP | ( | @WebParam(name="ipAddresses") String[] | ipAddresses, |
| @WebParam(name="pagingOptions") PagingOptions | pagingOptions, | ||
| @WebParam(name="context") Context | context | ||
| ) | throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
Returns a list of computer GUIDs from a provided list of computer IP addresses.
In addition to the computer GUIDs, the returned ComputerResult object provides the following:
| ipAddresses | list of IP addresses for which to provide computer GUIDs |
| pagingOptions | object that provides pagination information for returned result sets. Parameter sortColumn can be "Computername". |
| context | (required) object that provides the starting index for multiple sets of results |
| InsufficientAccessServiceException | if the current logged in user does not have sufficient rights to access the endpoint or to execute the web method |
| InvalidArgumentServiceException | if the client supplied invalid parameters |
| ServiceException | if the web service encountered an error processing the web request |
| ComputerResult com.symantec.sepm.webservice.client.ClientService.getQuarantinedComputers | ( | @WebParam(name="pagingOptions") PagingOptions | pagingOptions, |
| @WebParam(name="context") Context | context | ||
| ) | throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
Returns a list of computer GUIDs representing quarantined computers.
In addition to the computer GUIDs, the returned ComputerResult object provides the following:
| pagingOptions | object that provides pagination information for returned result sets. Parameter sortColumn can be "Computername". |
| context | (required) object that provides the starting index for multiple sets of results |
| InsufficientAccessServiceException | if the current logged in user does not have sufficient rights to access the endpoint or to execute the web method |
| InvalidArgumentServiceException | if the client supplied invalid parameters |
| ServiceException | if the web service encountered an error processing the web request |
| ComputerResult com.symantec.sepm.webservice.client.ClientService.getComputersByHostName | ( | @WebParam(name="computerHostNames") String[] | computerHostNames, |
| @WebParam(name="pagingOptions") PagingOptions | pagingOptions, | ||
| @WebParam(name="context") Context | context | ||
| ) | throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
Returns a list of computer GUIDs from a provided list of computer hostnames.
The specified hostname can include the network domain name.
The computerHostNames parameter can be specified in any of the following formats:
| computerHostNames | list of hostnames for which to provide computer GUIDs |
| pagingOptions | object that provides pagination information for returned result sets. Parameter sortColumn can be "Computername". |
| context | (required) object that provides the starting index for multiple sets of results |
| InsufficientAccessServiceException | if the current logged in user does not have sufficient rights to access the endpoint or to execute the web method |
| InvalidArgumentServiceException | if the client supplied invalid parameters |
| ServiceException | if the web service encountered an error processing the web request |
| GroupResult com.symantec.sepm.webservice.client.ClientService.getGroupsByName | ( | @WebParam(name="groupName") String | groupName, |
| @WebParam(name="pagingOptions") PagingOptions | pagingOptions, | ||
| @WebParam(name="context") Context | context | ||
| ) | throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
Returns a list of group IDs for Symantec Endpoint Protection Manager groups from the specified group name(s)
In addition to the group IDs, the returned GroupResult object provides the following:
The groupName parameter can be specified in either of the following formats:
| groupName | group name or full group path for which to provide the GroupResult |
| pagingOptions | object that provides pagination information for returned result sets. Parameter sortColumn can be groupName. |
| context | (required) object that provides the starting index for multiple sets of results |
| InsufficientAccessServiceException | if the current logged in user does not have sufficient rights to access the endpoint or to execute the web method |
| InvalidArgumentServiceException | if the client supplied invalid parameters |
| ServiceException | if the web service encountered an error processing the web request |
| int com.symantec.sepm.webservice.client.ClientService.acknowledgeRiskEventEntries | ( | @WebParam(name="eventIds") String[] | eventIds | ) | throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
Acknowledges (leaves alone) the specified risks that were found when a PowerEraser command request was issued with type "Scan" or "ScanWithRootkit." The risks to leave alone are specified by using the eventId field of the RiskEventInfo object.
Unlike the other actions associated with the PowerEraser command, a call to this method is not a command as such. No object is returned. The specified eventIds are flagged as acknowledged in the database, and the return integer indicates that the flag was successfully applied.
Note that the InvalidArgumentServiceException can be thrown in the following cases:
For example, an InvalidArgumentServiceException is thrown if a limited admin calls this web method and passes and eventID that was generated by a system admin.
| eventIds | list of eventIds to acknowledge (leave alone). |
| InsufficientAccessServiceException | if the current logged in user does not have sufficient rights to access the endpoint or to execute the web method |
| InvalidArgumentServiceException | if the client supplied invalid parameters |
| ServiceException | if the web service encountered an error processing the web request |
| RiskEventResult com.symantec.sepm.webservice.client.ClientService.getRiskEvents | ( | @WebParam(name="commandID") String | commandID, |
| @WebParam(name="pagingOptions") PagingOptions | pagingOptions, | ||
| @WebParam(name="context") Context | context | ||
| ) | throws InsufficientAccessServiceException, InvalidArgumentServiceException, ServiceException |
Returns the list of risks that were found when a runClientCommandPowerEraser() command request was issued with a PowerEraserCommand object argument that specified a command type of "Scan" or "ScanWith Rootkit." The commandID parameter is provided by the CommandClientResult object that is returned from the PowerEraser command.
If the pagingOptions parameter is null, this method uses the default values. The following values are the defaults:
sortColumn can be one of the following:
If the context parameter is null, this method uses the default offset value, 1. Otherwise, this method uses the existing offset value from the context. The updated context object is returned to the caller by the RiskEventResult object. To retrieve the next set of results, use this updated context object.
If there is no information to return in the RiskEventResult object, the fields that the object contains are returned as null values.
| commandID | a unique identifier for the command for which the details are to be retrieved |
| pagingOptions | object that contains pagination information for returned result sets |
| context | (required) object that provides the starting index for multiple sets of results |
| InsufficientAccessServiceException | if the current logged in user does not have sufficient rights to access the endpoint or to execute the web method |
| InvalidArgumentServiceException | if the client supplied invalid parameters |
| ServiceException | if the web service encountered an error processing the web request |
| PagingOptions com.symantec.sepm.webservice.client.ClientService.createPagingOptions | ( | ) |
Creates a PagingOptions object.
This method is provided as a convenience for developers using PowerShell or other scripting languages. It lets the caller create a default object that can be initialized and passed as an input parameter to other web services. Developers who use higher-level languages should be able to create this object directly, or they can use this helper method.
Implemented in com.symantec.sepm.webservice.client.ClientServiceImpl.
| Context com.symantec.sepm.webservice.client.ClientService.createContext | ( | ) |
Creates a Context object.
This method is provided as a convenience for developers using PowerShell or other scripting languages. It lets the caller create a default object that can be initialized and passed as an input parameter to other web services. Developers who use higher-level languages should be able to create this object directly, or they can use this helper method.
Implemented in com.symantec.sepm.webservice.client.ClientServiceImpl.
1.8.11